home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_MacPaint / Source / macpaintController.h < prev    next >
Text File  |  1995-06-12  |  2KB  |  41 lines

  1. /***********************************************************************\
  2. Controller class for Convert MacPaint which converts MacPaint files to PostScript files.
  3. Copyright (C) 1993 David John Burrowes
  4.  
  5. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
  6.  
  7. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  8.  
  9. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  10.  
  11. The author, David John Burrowes, can be reached at:
  12.     davidjohn@kira.net.netcom.com
  13.     David John Burrowes
  14.     1926 Ivy #10
  15.     San Mateo, CA 94403-1367
  16. \***********************************************************************/
  17.  
  18. #import "ConvertController.h"
  19. #import "common.h"
  20. #if NSmajor == 3
  21. #    import <defaults/defaults.h>
  22. #else
  23. #    import <appkit/defaults.h>
  24. #endif
  25.  
  26. @interface macpaintController:ConvertController
  27. {
  28.     id    PackingButton;    // object which records whether we are to pack data or not
  29.     Boolean    PackTheImage;
  30.     id    ConvertCommand;
  31. }
  32.  
  33.  
  34. - init;
  35. -displayPreferences: sender;
  36. -ChangePacking: sender;
  37.  
  38. - ConvertFrom: sourceFile To: destinationFile;
  39. - openDestFile: (roCString) theFile;
  40. @end
  41.